package com.cdn.treasure.util;

import lombok.extern.slf4j.Slf4j;

/**
 * 常用工具
 *
 * @author CaiDingNu
 * @date 2022/12/12
 */
@Slf4j
public class CommonUtil {
    public static boolean isEmpty(Object object) {
        return null == object || "".equals(object) || "null".equals(object);
    }

    public static boolean isNotEmpty(Object object) {
        return object != null && !"".equals(object) && !"null".equals(object);
    }
}
